package com.vf.user.domain.DTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class LoginDTO {

    @ApiModelProperty("用户昵称")
    private String email;

    @ApiModelProperty("用户手机号")
    private String phonenumber;

    @ApiModelProperty("用户密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
